/* 设置滚动条的样式 */
::-webkit-scrollbar {
    width:3px;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
    border-radius:10px;
}
::-webkit-scrollbar-thumb {
    border-radius:10px;
    background:rgba(0,0,0,0.1);
    -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.5);
}
::-webkit-scrollbar-thumb:window-inactive {
    background:rgba(255,0,0,0.4);
}

/* 主体样式 */
body{
    margin:15px auto;
    display: block;
}
*{
    box-sizing:border-box;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    margin:0px;
    padding:0px;
}
li{
    list-style:none;
}
span{
    word-break: break-all;
    display: inline-block;
}

/* 当前位置样式 */
.dqwz{
    position: fixed;
    width: 100%;
    height:35px;
    padding-left: 15px;
    line-height: 35px;
    top: 0px;
    left:0px;
    z-index:800;
    background: #edf6fa;
    border-bottom: 1px solid #d7e4ea;
    font-size:14px;
    font-family:'微软雅黑';
}
.dqwz span:first-of-type{
    font-weight:bold;
}
.dqwz span:last-of-type{
    color:#337ab7;
}

/* 模块样式 */
section{
    display: table;
    width:100%;
    margin-top: 50px;
}
section>p{
    padding:5px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    background:green;
    margin-bottom:15px;
}
section>div{
    width:288.75px;
    height:250px;
    margin-bottom:15px;
    float: left;
    margin-right: 15px;
    transition:all 0.1s ease-in;
    -wenkit-transition:all 0.1s ease-in;
    -moz-transition:all 0.1s ease-in;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    position:relative;
    padding-top: 42px;
    border:1px solid #1c84c6;
}
section>div .sectionBoxs{
    width: 100%;
    height:164px;
    overflow:auto;
    padding: 15px;
}
section>div>h3{
    width: 100%;
    position: absolute;
    top: 0px;
    left:0px;
    width: 100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    background-color: #1c84c6;
    border-color: #1c84c6;
    color: #fff;
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    font-size: 16px;
}
section>div:hover{
    border:1px solid #f8ac59;
    background-color:#f5f5f5;
}
section>div:hover h3{
    background-color: #f8ac59;
    border-color: #f8ac59;
}

/* 查看源码样式 */
section>div .htmlCode{
    position:fixed !important;
    left:50%;
    margin-left: -300px;
    min-width:600px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background:#ececec;
    z-index: 9999;
    display: none;
    font-family:'微软雅黑';
    -webkit-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    box-shadow: 0 3px 9px rgba(0,0,0,.5);
    -moz-box-shadow: 0 3px 9px rgba(0,0,0,.5);
    padding-top:45px;
    top: -300px;
    opacity:0;
}
section>div .htmlCode .extra-wrapper{
    width: 100%;
    max-height:500px;
    overflow:auto;
    padding: 15px;
}
section>div .htmlCode xmp{
    font-family:'微软雅黑';
}
section>div .htmlCode .close{
    position:absolute;
    right: 15px;
    top: 8px;
    padding: 12px 15px;
    background: #1c84c6;
    text-align:right;
    color: #FFF;
    width: 100%;
    left: 0px;
    top:0px;
    cursor:move;
}
section>div .htmlCode .close span{
    position:absolute;
    left: 15px;
    top: 12px;
}
section>div .htmlCode .close a{
    font-family:'微软雅黑';
    font-size:13px;
    text-decoration:none;
    color:#FFF;
}
section>div .htmlCode .close a:hover{
     color:#8B0000;
}
section>div .viewCode{
    position:absolute;
    left:0px;
    bottom: 0px;
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    width: 100%;
}
section>div .viewCode a{
    font-family:'微软雅黑';
    font-size:14px;
    text-decoration:none;
    color:#676a6c;
}
section>div .viewCode a:hover{
    color:#18a689;
}

/* 遮罩层样式 */
.mask_layer{
    position:fixed;
    width:100%;
    height:100%;
    background: rgba(0, 0, 0, 0.5);
    left: 0px;
    top: 0px;
    z-index: 8888;
    display: none;
}

/* 颜色样式 */
.red{
    color:red;
}
.green{
    color:green;
}

/* 媒体查询 */
@media only screen and (min-width: 1401px){
    body{
        width:1200px;
    }
    section>div:nth-of-type(4n){
        margin-right: 0px;
    }
}
@media only screen and (min-width: 1143px) and (max-width: 1400px){
    body{
        width: 898px;
    }
    section>div:nth-of-type(3n){
        margin-right: 0px;
    }
}
@media only screen and (min-width: 760px) and (max-width: 1142px){
    body{
        width: 594px;
    }
    section>div:nth-of-type(2n){
        margin-right: 0px;
    }
}
@media only screen and (max-width: 759px){
    body{
        width: 288.75px;
    }
}